<?php
/**
 * db_config.php            数据库配置
 *
 * @author                  mashanling(msl-138@163.com)
 * @date                    2012-03-22 08:33:07
 * @last modify             2012-09-18 16:17:10 by mashanling
 */

!defined('ROOT') && exit('Access Denied');

define('DB_HOST'               , 'localhost');    //数据库主机名
define('DB_PORT'               , '');             //数据库端口
define('DB_NAME'               , 'db_extjs');     //数据库名
define('DB_USER'               , 'root');         //数据库用户名
define('DB_PWD'                , '');             //数据库密码
define('DB_PREFIX'             , 'tb_');          //数据表前缀

define('TB_ADMIN'              , DB_PREFIX . 'admin');          //管理员表
define('TB_ADMIN_LOGIN_HISTORY', DB_PREFIX . 'admin_login_history');     //管理员登陆历史表 by mashanling on 2012-06-30 09:52:54
define('TB_ADMIN_ROLE'         , DB_PREFIX . 'admin_role');     //管理员角色表
define('TB_ADMIN_ROLE_PRIV'    , DB_PREFIX . 'admin_role_priv');//管理员角色权限表
define('TB_AREA'               , DB_PREFIX . 'area');           //国家地区表
define('TB_MENU'               , DB_PREFIX . 'menu');           //后台菜单表 by mashanling on 21:59 2012-7-18
define('TB_LOG'                , DB_PREFIX . 'log');            //系统日志表
define('TB_FIELD'              , DB_PREFIX . 'field');          //表单域表 by mashanling on 2012-08-01 17:15:55
define('TB_SESSION'            , DB_PREFIX . 'session');        //session表 by mashanling on 2012-09-18 16:16:56